package com.bt.lms.ui.page.common.action.pageteaching;

import com.bt.lms.ui.vo.PageSkipInfo;
import javafx.event.EventHandler;
import javafx.scene.input.MouseEvent;

/**
 * 教学监管标签事件
 */
public class TeachingSuperLabAction implements EventHandler<MouseEvent> {

    /**
     * 界面跳转数据
     */
    public static PageSkipInfo pageSkipInfo;

    /**
     * 构造事件
     * @param pageSkipInfo 界面跳转数据
     */
    public TeachingSuperLabAction(PageSkipInfo pageSkipInfo) {
        TeachingSuperLabAction.pageSkipInfo = pageSkipInfo;
    }

    @Override
    public void handle(MouseEvent event) {

//        MainTeachingSupervise mainTeachingSupervise = new MainTeachingSupervise();
//        Pane pane = pageSkipInfo.getPane();
//        Integer index = pageSkipInfo.getIndex();
//        pane.getChildren().set(index,mainTeachingSupervise);

    }
}
